package com.lmt_moban;

import java.util.ArrayList;

public class Test implements Implements<Teacher>{
    public static void main(String[] args) {
        MyArrayList<String> myArrayList = new MyArrayList<>();
        myArrayList.add("java1");
        myArrayList.add("java2");

        System.out.println(myArrayList.get(0));


        System.out.println("========================");

    }

    @Override
    public void add(Teacher teacher) {

    }

    @Override
    public ArrayList<Teacher> getName(String name) {
        return null;
    }
}
class Student{}
class Teacher{}
